import request from "@/utils/request";

/**
 * 查询所有友链
 */
export const listAllFriendApi = () => request({
    url:'/friend/listAll'
})

/**
 * 新增评论
 */
export const addFriendApi = (data) => request({
    url:'/friend/add',
    method: "post",
    data
})
